home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr21 / calprogs.zip / NETWORK.DOC < prev    next >
Text File  |  1993-04-17  |  18KB  |  444 lines

  1.  
  2.        NETWORK.DOC
  3.        Page 1 of 8
  4.  
  5.  
  6.                    PROTECTED MODE ADI - NETWORK PLOT SPOOLING
  7.  
  8.        The CalComp protected mode ADI driver follows AutoCAD conventions 
  9.        and provides the same network plot spooling support as an Autodesk 
  10.        in-line driver.  There are basically two methods which can be used 
  11.        on Novell networks:  plot to file with I/O redirection and plot to 
  12.        file with AUTOSPOOL.  Since most network system software has 
  13.        similar utilities, similar methods can be used on other networks.  
  14.        These methods, including setup information, are described in the 
  15.        following sections.
  16.  
  17.        Before proceeding, verify the following:
  18.  
  19.            The CalComp protected mode ADI driver is installed and has 
  20.            been tested with a CalComp plotter in a local configuration.
  21.            A workstation is connected and logged into the network.
  22.            Print servers and print queues are setup and operational.
  23.  
  24.  
  25.        THE NOVELL CAPTURE UTILITY
  26.  
  27.        The Novell CAPTURE utility can be used to redirect the output of a 
  28.        logical DOS LPT device, such as LPT1, to a network print queue and 
  29.        on to the plotter.
  30.  
  31.        Setup:
  32.  
  33.        1.  Start the CAPTURE utility before starting AutoCAD.  This can 
  34.            be done at the DOS prompt or, for regular use, it can be 
  35.            included in a login script or batch file.
  36.  
  37.        2.  Start AutoCAD and configure for plot to file from the 
  38.            configure plotter menu.  To make this the default, answer YES 
  39.            when you see the following question during configuration:
  40.  
  41.            Write the plot to a file?
  42.  
  43.            Plot to file is also an option which can be setup at plot 
  44.            time.  Since the ADI driver ignores the handshaking selection 
  45.            when plotting to a file, no other changes need to be made from 
  46.            the plotter configuration menu.
  47.  
  48.        3.  Configure the plot file name for LPT1 (assuming that CAPTURE 
  49.            is redirecting the output of LPT1).  From the operating 
  50.            parameter menu, select option 3, default plot file name.  When 
  51.            prompted, enter the following:
  52.  
  53.            LPT1
  54.  
  55.            For occasional use, you can also enter LPT1 as the file name 
  56.            at plot time.
  57.  
  58.        
  59.        NETWORK.DOC
  60.        Page 2 of 8
  61.  
  62.  
  63.        4.  Make sure that the plotter is connected to the print server.  
  64.            Check the plotter setup and, if the connection is serial, 
  65.            ensure that the baud rate, character framing and handshaking 
  66.            (xon/xoff or hardware) match the Novell printer configuration 
  67.            in PCONSOLE.
  68.  
  69.        This completes the setup for plot spooling using the CAPTURE 
  70.        utility.
  71.  
  72.  
  73.        NOTES ON USING CAPTURE
  74.  
  75.        If the Autoendcap option is enabled (default), captured plots will 
  76.        be queued when AutoCAD completes the plot job.  This is useful if 
  77.        you want to send single plot jobs to individual print queue files 
  78.        and plot without exiting AutoCAD.  A new capture session starts 
  79.        automatically with each plot job.
  80.  
  81.        If the Auotendcap option is disabled, captured plots will be 
  82.        queued when you exit AutoCAD and type ENDCAP at the DOS prompt.  
  83.        This is useful if you want to append multiple plot jobs in a 
  84.        single print queue file.  ENDCAP also terminates the capture of an 
  85.        LPT device.
  86.  
  87.        The Timeout option should be disabled (default) since it can cause 
  88.        unpredictable results.
  89.  
  90.        Typical captured plots appear as "LPT1 Catch" in the print queue 
  91.        job description.
  92.  
  93.        The following CAPTURE options should be used to prevent any 
  94.        extraneous data from being sent to the plotter.  Instead of 
  95.        including these in the command line, they can be set up as 
  96.        defaults in PRINTCON.
  97.  
  98.            NoTabs            NoBanner        NoFormFeed
  99.  
  100.        For additional information please refer to the Novell Print Server 
  101.        Manual and the AutoCAD Installation and Performance Guide.
  102.  
  103.  
  104.        THE AUTOCAD AUTOSPOOL FEATURE AND THE NOVELL NPRINT UTILITY
  105.  
  106.        The AutoCAD AUTOSPOOL feature can be used to output plots to 
  107.        unique files in a user defined plot spooler directory.  Once the 
  108.        plot files are in the spooler directory, it is the responsibility 
  109.        of a spooler program, such as the Novell NPRINT utility, to move 
  110.        the files to a network print queue and on to the plotter.  AutoCAD 
  111.        provides a hook with which to automate spooler execution in the 
  112.        form of an environment variable, ACADPLCMD.  Once AutoCAD finishes 
  113.        writing the plot file, it generates a command using the string 
  114.        defined in ACADPLCMD, substituting a unique file name for the "%s" 
  115.        in the string, and sends it to DOS for execution.  AutoCAD then 
  116.        returns to the drawing editor or main menu, depending on where the 
  117.        plot job was started.
  118.  
  119.        
  120.        NETWORK.DOC
  121.        Page 3 of 8
  122.  
  123.  
  124.        Setup:
  125.  
  126.        1.  Make a directory or identify an existing directory for plot 
  127.            spooling.  This directory can be on a local or network drive.  
  128.            Both AutoCAD and NPRINT will need read/write access to this 
  129.            directory.  For this example we will use Z:\PLOTS.
  130.  
  131.        2.  Define the environment variable, ACADPLCMD, for the spooler 
  132.            program (NPRINT) using the SET command.
  133.  
  134.            SET ACADPLCMD=NPRINT %s
  135.  
  136.            Note that the "s" is lower case and there are no spaces around 
  137.            the equal (=) sign and no trailing space at the end of the 
  138.            line.
  139.  
  140.            If you want the plot files deleted from the spooler directory 
  141.            once they're in the queue, use the Delete option with NPRINT.  
  142.            For example:
  143.  
  144.            SET ACADPLCMD=NPRINT %s D
  145.  
  146.            For regular use, you can add the appropriate SET statement to 
  147.            the AUTOEXEC batch file.  If you do, be sure to use two 
  148.            percent (%) signs, since DOS batch files use the percent sign 
  149.            to indicate parameters passed to the program.  For example:
  150.  
  151.            SET ACADPLCMD=NPRINT %%s
  152.  
  153.            Set ACADPLCMD=NPRINT %%s D
  154.  
  155.        3.  Start AutoCAD and configure for plot to file from the 
  156.            configure plotter menu.  To make this the default, answer YES 
  157.            when you see the following question during configuration:
  158.  
  159.            Write the plot to a file?
  160.  
  161.            Plot to file is also an option which can be setup at plot 
  162.            time.  Since the ADI driver ignores the handshaking selection 
  163.            when plotting to a file, no other changes need to be made from 
  164.            the plotter configuration menu.
  165.  
  166.        4.  Configure the plot file name for AUTOSPOOL.  From the 
  167.            operating parameter menu, select option 3, default plot file 
  168.            name.  When prompted, enter the following:
  169.  
  170.            AUTOSPOOL
  171.  
  172.            For occasional use, you can also enter AUTOSPOOL as the file 
  173.            name at plot time.
  174.  
  175.        
  176.        NETWORK.DOC
  177.        Page 4 of 8
  178.  
  179.  
  180.        5.  Configure the plot spooler directory.  From the operating 
  181.            parameter menu, select option 4, plot spooler directory.  When 
  182.            prompted, enter the path and name of the directory created in 
  183.            step 1, including a trailing backslash.  For example:
  184.  
  185.            Z:\PLOTS\
  186.  
  187.        6.  Make sure that the plotter is connected to the print server.  
  188.            Check the plotter setup and, if the connection is serial, 
  189.            ensure that the baud rate, character framing and handshaking 
  190.            (xon/xoff or hardware) match the Novell printer configuration 
  191.            in PCONSOLE.
  192.  
  193.        This completes the setup for plot spooling using AUTOSPOOL and the 
  194.        NPRINT utility.
  195.  
  196.  
  197.        NOTES ON USING AUTOSPOOL AND NPRINT
  198.  
  199.        Spooled plot files appear in the spooler directory and print queue 
  200.        job description with unique file names.  Spooled plot files are 
  201.        given unique names by AutoCAD in the format VXXXXXXX.YYY, where V 
  202.        indicates a vector plot file, XXXXXXX is based on the current 
  203.        time, and YYY is the network node name.  For example:  
  204.        V1234567.RAY.  The default network node name is AC$ and can be 
  205.        changed from the operating parameter menu, option 6.
  206.  
  207.        The following NPRINT options should be used to prevent any 
  208.        extraneous data from being sent to the plotter.  These should be 
  209.        set up as defaults in PRINTCON.
  210.  
  211.            NoTabs            NoBanner        NoFormFeed
  212.  
  213.        If the spooler program doesn't delete the old plot files from the 
  214.        spooler directory, you will need to do this manually to prevent 
  215.        filling up the hard disk.
  216.  
  217.        Besides NPRINT, you can also use your favorite spooler program.  
  218.        Just define it in ACADPLCMD.  ACADPLCMD can also be used to start 
  219.        a batch file, which in turn can perform some setup before starting 
  220.        the spooler.  Or, instead of using ACADPLCMD, you can have a 
  221.        spooler program running on a remote node, queueing up plot files 
  222.        from the spooler directory.
  223.  
  224.        For additional information please refer to the Novell Print Server 
  225.        Manual and the AutoCAD Installation and Performance Guide.
  226.  
  227.        
  228.        NETWORK.DOC
  229.        Page 5 of 8
  230.  
  231.  
  232.                      REAL MODE ADI - NETWORK PLOT SPOOLING
  233.  
  234.        The CalComp real mode ADI driver provides network plot spooling 
  235.        support using plot to file with I/O redirection.  There is 
  236.        basically one method which can be used on Novell networks.  Since 
  237.        most network system software has similar utilities, a similar 
  238.        method can be used on other networks.  This method, including 
  239.        setup information, is described in the following sections.
  240.  
  241.        Before proceeding, verify the following:
  242.  
  243.            The CalComp real mode ADI driver is installed and has been 
  244.            tested with a CalComp plotter in a local configuration.
  245.            A workstation is connected and logged into the network.
  246.            Print servers and print queues are setup and operational.
  247.  
  248.        Plot to file with AUTOSPOOL is not supported.
  249.  
  250.  
  251.        THE NOVELL CAPTURE UTILITY
  252.  
  253.        The Novell CAPTURE utility can be used to redirect the output of a 
  254.        logical DOS LPT device, such as LPT1, to a network print queue and 
  255.        on to the plotter.
  256.  
  257.        Setup:
  258.  
  259.        1.  Configure the ADI driver for plot to file.  Run the 
  260.            configuration program, CCPCFG.  From the communications menu, 
  261.            select the File option, save the settings and exit.  There is 
  262.            no need to reload the driver, since it always reads its 
  263.            configuration file before plotting begins.
  264.  
  265.        2.  Start the CAPTURE utility before starting AutoCAD.  This can 
  266.            be done at the DOS prompt or, for regular use, it can be 
  267.            included in a login script or batch file.
  268.  
  269.        3.  Make sure that the plotter is connected to the print server.  
  270.            Check the plotter setup and, if the connection is serial, 
  271.            ensure that the baud rate, character framing and handshaking 
  272.            (xon/xoff or hardware) match the Novell printer configuration 
  273.            in PCONSOLE.
  274.  
  275.        4.  Start AutoCAD and select a drawing to plot.  Configuring the 
  276.            plot file name for LPT1 (assuming that CAPTURE is redirecting 
  277.            the output of LPT1) is done at plot time.  Enter LPT1 when the 
  278.            final prompt appears:
  279.  
  280.            Enter output file name <CCPADI.PLT>  ==>
  281.  
  282.            CCPADI.PLT is the initial default plot file name.  Subsequent 
  283.            default plot file names will be the last file name used, in 
  284.            this case LPT1.
  285.  
  286.        This completes the setup for plot spooling using the CAPTURE 
  287.        utility.
  288.  
  289.        
  290.        NETWORK.DOC
  291.        Page 6 of 8
  292.  
  293.  
  294.        NOTES ON USING CAPTURE
  295.  
  296.        If the Autoendcap option is enabled (default), captured plots will 
  297.        be queued when AutoCAD completes the plot job.  This is useful if 
  298.        you want to send single plot jobs to individual print queue files 
  299.        and plot without exiting AutoCAD.  A new capture session starts 
  300.        automatically with each plot job.
  301.  
  302.        If the Auotendcap option is disabled, captured plots will be 
  303.        queued when you exit AutoCAD and type ENDCAP at the DOS prompt.  
  304.        This is useful if you want to append multiple plot jobs in a 
  305.        single print queue file.  ENDCAP also terminates the capture of an 
  306.        LPT device.
  307.  
  308.        The Timeout option should be disabled (default) since it can cause 
  309.        unpredictable results.
  310.  
  311.        Typical captured plots appear as "LPT1 Catch" in the print queue 
  312.        job description.
  313.  
  314.        The following CAPTURE options should be used to prevent any 
  315.        extraneous data from being sent to the plotter.  Instead of 
  316.        including these in the command line, they can be set up as 
  317.        defaults in PRINTCON.
  318.  
  319.            NoTabs            NoBanner        NoFormFeed
  320.  
  321.        For additional information please refer to the Novell Print Server 
  322.        Manual and the AutoCAD Installation and Performance Guide.
  323.  
  324.        
  325.        NETWORK.DOC
  326.        Page 7 of 8
  327.  
  328.  
  329.                        BATCHPLOT - NETWORK PLOT SPOOLING
  330.  
  331.        Batchplot doesn't directly support network plot spooling.  
  332.        However, Batchplot can output plots to files in a user defined 
  333.        plot spooler directory.  Once the plot files are in the spooler 
  334.        directory, it is the responsibility of a spooler program to move 
  335.        the files to a network print queue and on to the plotter.
  336.  
  337.        When the ADI driver is setup for plot to file, Batchplot forces 
  338.        the driver to write its files to the AutoCAD plot spooler 
  339.        directory.  Since Batchplot also generates the plot file names, 
  340.        plot to file with I/O redirection and plot to file with AUTOSPOOL 
  341.        are not supported.  
  342.  
  343.        Before proceeding, verify the following:
  344.  
  345.            The CalComp protected mode or real mode ADI driver and 
  346.            Batchplot are installed and have been tested with a CalComp 
  347.            plotter in a local configuration.
  348.            A workstation is connected and logged into the network.
  349.            Print servers, print queues and a spooler program are setup 
  350.            and operational.
  351.  
  352.        Setup:
  353.  
  354.        1.  Make a directory or identify an existing directory for plot 
  355.            spooling.  This directory can be on a local or network drive.  
  356.            Both AutoCAD and the spooler program will need read/write 
  357.            access to this directory.  For this example we will use 
  358.            Z:\PLOTS.
  359.  
  360.        2.  Configure the ADI driver for plot to file.
  361.  
  362.            A.  Protected mode ADI driver:
  363.  
  364.                Start AutoCAD and configure for plot to file from the
  365.                configure plotter menu.  Answer YES when you see the
  366.                following question during configuration:
  367.  
  368.                Write the plot to a file?
  369.  
  370.                Since the ADI driver ignores the handshaking selection
  371.                when plotting to a file, no other changes need to be made
  372.                from the plotter configuration menu.
  373.  
  374.            B.  Real mode ADI driver:
  375.  
  376.                Run the configuration program, CCPCFG.  From the
  377.                communications menu, select the File option, save the
  378.                settings and exit.  There is no need to reload the driver,
  379.                since it always reads its configuration file before
  380.                plotting begins.
  381.  
  382.                Start AutoCAD.
  383.  
  384.        
  385.        NETWORK.DOC
  386.        Page 8 of 8
  387.  
  388.  
  389.        3.  Configure the plot spooler directory.  From the operating 
  390.            parameter menu, select option 4, plot spooler directory.  When 
  391.            prompted, enter the path and name of the directory created in 
  392.            step 1, including a trailing backslash.  For example:
  393.  
  394.            Z:\PLOTS\
  395.  
  396.            Save the settings and exit.
  397.  
  398.        4.  Make sure that the plotter is connected to the print server.  
  399.            Check the plotter setup and, if the connection is serial, 
  400.            ensure that the baud rate, character framing and handshaking 
  401.            (xon/xoff or hardware) match the network spooler printer 
  402.            configuration.
  403.  
  404.        This completes the setup for plot spooling using Batchplot.
  405.  
  406.  
  407.        NOTES ON USING BATCHPLOT
  408.  
  409.        Batchplot file naming conventions:
  410.  
  411.            Normal plots:  Drawing file name with .P00 extension.  For 
  412.            example:
  413.  
  414.                  COLUMBIA.P00
  415.  
  416.            Normal plots (multiple copies):  Drawing file name with .PXX 
  417.            extension, where XX is the copy number starting with 00.  For 
  418.            example:
  419.  
  420.                  COLUMBIA.P00  (first copy)
  421.                  COLUMBIA.P01  (second copy)
  422.  
  423.            Nested plots:  BATCHPLT with .YYY extension, where YYY is the 
  424.            sequence number starting with 001.  For example:
  425.  
  426.                  BATCHPLT.001  (first nested plot)
  427.                  BATCHPLT.002  (second nested plot)
  428.  
  429.        AutoCAD default plot file names such as LPT1 and AUTOSPOOL are 
  430.        ignored.
  431.  
  432.        The AutoCAD spooler automation hook, ACADPLCMD, is not supported.
  433.  
  434.        The spooler program should be transparent to the plot data, i. e., 
  435.        it shouldn't send any extraneous data to the plotter.
  436.  
  437.        If the spooler program doesn't delete the old plot files from the 
  438.        spooler directory, you will need to do this manually to prevent 
  439.        filling up the hard disk.
  440.  
  441.        For additional information please refer to your spooler program 
  442.        documentation and the AutoCAD Installation and Performance Guide.
  443.  
  444.